﻿#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>
#include <QListWidget>
#include <QDebug>
#include <QMouseEvent>
#include <QDragMoveEvent>
#include <QDropEvent>
#include <QListWidgetItem>
#include <QMessageBox>


namespace Ui {
class Dialog;
}

class Dialog : public QDialog
{
    Q_OBJECT

public:
    explicit Dialog(QListWidget* pixList,QWidget *parent = nullptr);
    ~Dialog();

private slots:
    void onDrop(int index,QPoint pos);

private:
    Ui::Dialog *ui;

    int result[2][2];


};

#endif // DIALOG_H
